package com.lovo.dao;

import com.lovo.bean.Throne;

import java.util.List;

public interface ThroneMapper {
    int deleteByPrimaryKey(Integer throneId);

    int insert(Throne record);

    int insertSelective(Throne record);

    Throne selectByPrimaryKey(Integer throneId);

    int updateByPrimaryKeySelective(Throne record);

    int updateByPrimaryKey(Throne record);

    List<Throne> selectAll();

    List<Throne> selectByQuery(String content);

    List<Throne> checkRole(int roleId);

    List<Throne> selectAllThrone();

    List<Integer> getRoleThrone(int roleId);

    int deleteRoleThrone(int parseInt);

    List<Throne> selectByIdStr(String throneIdStr);
}